package com.codefish.codefish_blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 点赞记录类
 *
 * @author codefish
 * @since 2022-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ArticleLikeRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * like记录id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * like的文章id
     */
    private Long articleId;

    /**
     * like的用户id
     */
    private Integer likerId;

    /**
     * 点赞时间
     */
    private Date likeDate;


}
